package com.devicemantra.coordinate.dataobjects;

import java.util.ArrayList;
import com.google.appengine.api.datastore.Key;
import java.util.List;
import javax.jdo.annotations.*;

import java.util.UUID;


@PersistenceCapable(identityType = IdentityType.DATASTORE, detachable =
"true") 
public class CState  
{
	@PrimaryKey
    @Persistent  //(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key mStateId;
	
	@Persistent
	private String mStateName;
	
	public CState(String pStateName)
	{
		mStateName = pStateName;
	}
	
	public void setStateId(Key pStateKey)
	{
		mStateId = pStateKey;
	}
	
	public Key getStateId()
	{
		return mStateId ;
	} 
	
	public String getName()
	{
		return mStateName;
	}
	
	public void setName(String pName)
	{
		mStateName = pName;
	}
}
